package cn.itcast.dao;

import cn.itcast.pojo.Menu;
import cn.itcast.pojo.User;
import org.apache.ibatis.annotations.Select;

public interface SecurityUserDao {

    //根据传入过来的username进行查询

    @Select("select * from t_user where username = #{username}")
    User getUsername(String username);

    Menu getMenuList();
}
